﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using tricogol.metro.Common;
using Windows.UI.Xaml.Media;
using Windows.UI.Xaml.Media.Imaging;

namespace tricogol.metro.Models
{
    public class Equipo:BindableBase
    {
        private string nombre;
        public string Nombre
        {
            get { return nombre;}
            set { this.SetProperty(ref nombre, value); }
        }

        private bool isSelected;
        public bool IsSelected
        {
            get { return isSelected; }
            set { this.SetProperty(ref isSelected, value); }
        }

        public string ImagenRuta { set; get; }

        public ImageSource Imagen
        {
            get {
                return new BitmapImage(new Uri("ms-app:///"+this.ImagenRuta));
            }
        }

    }
}
